package com.cskaoyan.service.mall;

import com.cskaoyan.model.bean.Issue;
import com.cskaoyan.model.bean.Keyword;
import com.cskaoyan.model.bo.PageBo;
import com.cskaoyan.model.bo.mall.IssueCreatBo;
import com.cskaoyan.model.bo.mall.KeyWordCreatBo;
import com.cskaoyan.model.vo.mall.IssueVo;
import com.cskaoyan.model.vo.mall.KeywordVo;
import com.cskaoyan.model.vo.mall.OrderDetailVo;
import com.cskaoyan.model.vo.mall.OrderVo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface MallAfterOrderService {

    OrderVo  getOrderList(PageBo pageBo, String orderSn, Integer userId, List<String> orderStatusArray);

    OrderDetailVo orderDetail(int orderId);

    boolean orderRefund(Integer orderId);

    boolean orderShip(Integer orderId, String shipChannel, String shipSn);

    //issue接口
    IssueVo getIssueList(PageBo pageBo, String question);

    Issue issueCreat(IssueCreatBo issueCreatBo);

    int issueDelete(Integer id);

    int issueUpdate(Issue issue);

    KeywordVo getKeyWordList(PageBo pageBo, String keyword, String url);

    Keyword keywordCreat(KeyWordCreatBo keyWordCreatBo);

    int keywordDelete(Integer id);

    int keywordUpdate(Keyword keyword);
}
